<template>
  <div class="cust_all">
    <!-- 面包屑 -->
    <el-breadcrumb separator-class="el-icon-arrow-right">
      <el-breadcrumb-item :to="{ path: '/system/salesPersonList' }">销售员管理</el-breadcrumb-item>
      <el-breadcrumb-item :to="{ path: '/system/salesPersonList' }">销售员列表</el-breadcrumb-item>
      <el-breadcrumb-item>客户列表</el-breadcrumb-item>
    </el-breadcrumb>
    <el-table :data="tableData" stripe style="width: 100%">
      <el-table-column prop="username" label="姓名" width="120" align="center"></el-table-column>
      <el-table-column prop="nickname" label="昵称" width="120" align="center"></el-table-column>
      <el-table-column prop="birth" label="生日" width="120" align="center"></el-table-column>
      <el-table-column prop="img" label="头像" width="120" align="center">
        <el-avatar src="https://cube.elemecdn.com/0/88/03b0d39583f48206768a7534e55bcpng.png"></el-avatar>
      </el-table-column>
      <el-table-column prop="tel" label="联系方式" width="120" align="center"></el-table-column>
      <el-table-column prop="state" label="审核状态" width="120" align="center"></el-table-column>
      <el-table-column prop="address" label="地址" align="center"></el-table-column>
    </el-table>
  </div>
</template>

<script>
import { createNamespacedHelpers } from "vuex";
const { mapState, mapMutations, mapActions } = createNamespacedHelpers(
  "salesperson"
);
export default {
  computed: {
    ...mapState(["tableData"]),
  },
};
</script>

<style lang="scss" scoped>
@import './css/checkCustmoer.scss';
</style>